package Lecture6;

import java.util.Scanner;

public class ClassTask4 {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
		System.out.println("Please enter a string letters!");
		String niz = sc.next();
		
		int[] arr = new int [26];
		
		for(int i = 0; i < niz.length(); i++)
		{
			arr[niz.charAt(i) - 'a' ]++;
		}
		
		for(int i = 0; i < arr.length; i++)
		{
			char letter = (char) (i + 'a'); 
			
			System.out.println(letter + " : " + arr[i]);
			
		}
		
		
		
		
	}

}
